import React, { useEffect, useState } from 'react'
import css from "./verfy.module.css"
function Verfy() {
    const [svg, setsvg] = useState("")
    useEffect(() => {
        changeverfy()
    }, [])
    let changeverfy = () => {
        let url = "/verify"
        fetch(url).then(res => res.text())
            .then(data => {
                setsvg(data)
            })
    }
    return (
        <span onClick={changeverfy} className={css.verfy} dangerouslySetInnerHTML={{ __html: `${svg}` }}>
        </span>
    )
}

export default Verfy
